package com.chuck.config;

import com.alibaba.druid.support.http.StatViewServlet;

import javax.servlet.annotation.WebInitParam;
import javax.servlet.annotation.WebServlet;



@WebServlet(urlPatterns = "/druid/*",initParams = {
        @WebInitParam(name = "allow",value = "192.168.100.1,127.0.0.1"),//白名单
        @WebInitParam(name = "deny",value = "192.168.100.2"),//黑名单
        @WebInitParam(name = "loginUsername",value = "admin"),//用户名
        @WebInitParam(name = "loginPassword",value = "admin"),//密码
        @WebInitParam(name = "resetEnable",value = "false")//禁用HTML上的 Reset All 按钮
})
public class DruidStatViewServlet extends StatViewServlet {

}
